package HomeWork.atm04;

import java.io.Serializable;

/**
 * ATM用户类
 */

public class Users implements Serializable {
    private String account;//账号
    private String pwd;//密码
    private double blance;//余额

    public Users(){};

    public Users(String account,String pwd,double blance){
        this.account = account;
        this.pwd = pwd;
        this.blance = blance;
    }

    public String getAccount(){
        return account;
    }
    public void setAccount(String account){
        this.account = account;
    }

    public String getPwd(){
        return pwd;
    }
    public void setPwd(String pwd){
        this.pwd = pwd;
    }

    public double getBlance(){
        return blance;
    }
    public void setBlance(double blance){
        this.blance = blance;
    }
}
